package com.gxa.p2p.service;

import com.gxa.p2p.common.exception.MyException;
import com.gxa.p2p.pojo.Version;

import java.util.List;
import java.util.Map;

public interface VersionService {
       List<Version> selectAll(Boolean vstate,Integer page,Integer size);
       void add(Version version) throws MyException;
       void update(Long vid,Boolean vstate) throws MyException;
       void deleteById(Long vid) throws MyException;
       List<Version> selectAllData();
}
